import * as types from './types'
const mutations = {
  [types.DATE_OPTIONS](state, msg) {
    state.dateOptions = msg;
  },
  [types.SELECTED_TIME](state, msg) {
    state.selectedTime = msg;
  },
  [types.STOCK_TIME](state, msg) {
    state.selStockTime = msg;
  },
  [types.SELECTED_DATE](state,msg){
  	state.selectedDate=msg;
  },
  [types.LAST_DATE](state,msg){
    state.lastDate=msg;
  },
  [types.PROANALYSIS_INDEX](state,msg){
    state.proAnalysisIndex=msg;
  },
  [types.MONTH_INDEX](state,msg){
    state.monthIndex=msg;
  },
  [types.MYASSET_INDEX](state,msg){
    state.myAssetIndex=msg;
  },
  [types.MONTH_TOP](state,msg){
    state.monthTop=msg;
  },
  [types.PAGE_NUM](state,msg){
    state.pageNum=msg;
  },
  [types.SCROLL_TOP](state,msg){
    state.scrollTop=msg;
  }
};

export default mutations
